package com.abstractdemo;

/**
 * @Auther: shiquan
 * @Date: 2024/10/22 - 10 - 22 -10:16
 */
public class Test {
    public static void main(String[] args) {
        //创建对象
        Frog f = new Frog("小白",12);
        System.out.println(f.getName()+","+f.getAge());
        f.eat();
        f.drink();
    }
}
